﻿using FluentNHibernate.Mapping;
using SimpleScrum.Core.Entities;

namespace SimpleScrum.Core.Mappings
{
    public class WebpagesRolesMap : ClassMap<WebpagesRoles>
    {
        public WebpagesRolesMap()
        {
            Table("webpages_Roles");
            //LazyLoad();
            Id(x => x.RoleId).Column("RoleId");
            Map(x => x.RoleName).Column("RoleName");
        }
    }
}